package com.mvc.business.model;

import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;

import com.mvc.framework.model.CommonAuditableEntity;

@MappedSuperclass
public class BaseUnit extends CommonAuditableEntity {
	@NotNull
	private Double	quantity;

	@NotNull
	private Integer	unit;

	@Transient
	private String	unitName;

	public Double getQuantity() {
		return quantity;
	}

	public void setQuantity(Double quantity) {
		this.quantity = quantity;
	}

	public Integer getUnit() {
		return unit;
	}

	public void setUnit(Integer unit) {
		this.unit = unit;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

}
